package com.imooc.exceptions;

import com.imooc.grace.result.ResponseStatusEnum;

/**
 * @version 1.0
 * @Author Mr.Yang
 * @Date 2024-08-05 20:31
 * @question: 优雅的处理异常 统一进行封装
 */

public class GraceException {

    public static void display(ResponseStatusEnum statusEnum) {
        throw new MyCustomException(statusEnum);
    }

}
